﻿using System;

namespace ASmile.Win.Forms
{
    public partial class FrmLogDetail : FrmBaseModal
    {
        public FrmLogDetail(string sqlContent)
        {
            InitializeComponent();
            SqlContent = sqlContent;
        }

        string SqlContent { get; }

        private void FrmLogSqlView_Load(object sender, EventArgs e)
        {
            rTxtSql.Text = SqlContent;
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}